package cn.usian.mapper;

import cn.usian.entity.Dish;
import cn.usian.entity.DishFlavor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DishFlavorMapper extends BaseMapper<DishFlavor> {
    @Select("select * from dish_flavor where id=#{id}")
    List<DishFlavor> findByName(Long id);
}
